/**
 * 
 */
package com.swg.cocobox.filetransfer;

import java.io.IOException;
import java.nio.channels.SocketChannel;

import com.swg.cocobox.filetransfer.command.Command;
import com.swg.cocobox.server.ReaderServer;

/**
 * @author satriaprayoga
 *
 */
public interface CommandDispatcher<E extends ReaderServer,T extends Command> {

	public void dispatch(E server,SocketChannel channel,T command) throws IOException;
}
